﻿using ProduceBasicData.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProduceBasicData.Domain.IncomingMaterialsManage
{
    /// <summary>
    /// 检验方案实体类，存储检验方案的配置信息（如全检/抽检规则、参数等）
    /// </summary>
    public class InspectionScheme:BaseModel
    {
        /// <summary>
        /// 系统编码
        /// </summary>
        public string? InspectionSchemeCode { get; set; }
        /// <summary>
        /// 检验方案名称（如“测试方案”“继电器”）
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 检验类型（如“全检”“抽检”）
        /// </summary>
        public string? Type { get; set; }

        /// <summary>
        /// 抽检方式（如“百分比”，仅抽检类型有效）
        /// </summary>
        public string? SamplingMethod { get; set; }

        /// <summary>
        /// 抽检参数值（如“15%”“30%”，与抽检方式配合）
        /// </summary>
        public string? Value { get; set; }

        /// <summary>
        /// 检验方案描述信息
        /// </summary>
        public string? Description { get; set; }
    }
}
